<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    
    <div>
        <input id="userName" />
        <button id="connectBtn" >连接至222</button>
        <button id="leaveBtn" >退出</button>
    </div>
    <div>
        <label>Bandwidth:</label>
        <select id = "bandwidth">
            <option value="unlimited" selected>unlimited</option>
            <option value="2000">2000</option>
            <option value="1000">1000</option>
            <option value="500">500</option>
            <option value="250">250</option>
            <option value="125">125</option>
        </select>
        kbps
    </div>
    <div>
        <div style="display: inline-block;" >
            <h3>Local</h3><br />
            <video id="localVideo" style="width:300px;height: 200px;" autoplay="autoplay"  ></video>
        </div>
        <div style="display: inline-block;" >
            <h3>Remote1</h3><br />
            <video id="remoteVideo1" style="width:500px;height: 200px;" autoplay="autoplay" ></video>
        </div>
        <div style="display: inline-block;" >
            <h3>Remote2</h3><br />
            <video id="remoteVideo2" style="width:500px;height: 200px;" autoplay="autoplay" ></video>
        </div>
    </div>
    <div>
        <textarea id="chatTextArea"  disabled rows="10" cols="40" ></textarea><br/>
        <textarea id="chatInputArea"  rows="2" cols="40" ></textarea>
        <button id="chatSendBtn" >Send</button>
    </div>
</body>
<script src="./js/socket.io-client.js"></script>
<script src="./js/room3.js" ></script>
</html>